package br.com.ifba.sadd.model
{
	import mx.collections.ArrayCollection;
	
	[Bindable]
	[RemoteClass(alias="br.com.ifba.sadd.model.Professor")]	
	public class Professor
	{
		
		private var _id:Number;
		private var _nome:String;
		private var _email:String;
		private var _cpf:String;
		private var _usuario:Usuario;
		private var _turmas:ArrayCollection;
		
		public function Professor()
		{
		}
		
		public function get id():Number
		{
			return _id;
		}

		public function set id(value:Number):void
		{
			_id = value;
		}

		public function get nome():String
		{
			return _nome;
		}

		public function set nome(value:String):void
		{
			_nome = value;
		}
		
		public function get email():String
		{
			return _email;
		}
		
		public function set email(value:String):void
		{
			_email = value;
		}
		
		public function get cpf():String
		{
			return _cpf;
		}

		public function set cpf(value:String):void
		{
			_cpf = value;
		}
		
		public function get usuario():Usuario
		{
			return _usuario;
		}

		public function set usuario(value:Usuario):void
		{
			_usuario = value;
		}
		
		[ArrayElementType("br.com.ifba.sadd.model.Turma")]
		public function get turmas():ArrayCollection
		{
			return _turmas;
		}
		
		public function set turmas(value:ArrayCollection):void
		{
			_turmas = value;
		}
	}
}